package 三元运算符练习.Demo;

public class Demo02 {
    public static void main(String[] args) {
        int score = 70 ;
        String garde = score < 60?"不合格" : (score>=90 ? "优秀" : "合格");
        System.out.println(garde);

    }
}
